

#ifndef _SHELL_REQEXCHANGE_MESSAGE_H_
#define _SHELL_REQEXCHANGE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqExchangeMessage : public Message
{
	public:
	ReqExchangeMessage();
	~ReqExchangeMessage();
	void reset();
	ReqExchangeMessage* clone();
	static const int _ID;
	//捐献战旗数量
	int8 num;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
